package com.hoshiibuy.neo4j.node;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * @author yl
 * @title: Tenant
 * @projectName hoshiibuy
 * @description: 租户
 * @date 2019/4/23
 */
@Data
public class Tenant {

    @ApiModelProperty(value = "mysql id")
    private String uuid;

    @ApiModelProperty(value = "名称")
    private String label;

    /**
     * 节点属性键值对 == Property Keys
     */
    @ApiModelProperty(value = "json对象,比如：{name:#名称#,code:#代码#,......}")
    private Map<String, Object> properties;


    public Tenant() {
        properties = new HashMap<>();
    }

}
